package org.rcloud.io.mapper;

import org.apache.ibatis.annotations.Param;
import org.rcloud.io.model.Rural;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface RuralMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Rural record);

    int insertSelective(Rural record);

    Rural selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Rural record);

    int updateByPrimaryKey(Rural record);

    List<Rural> selectAll();

    Rural selectByEid(String eid);

    int updateByTitle(@Param("inf02")String nameTitle, @Param("inf01")String INF01);

    List<Rural> selectByKey(Map record);
}